package cn.zhf.shop.entity.campus;

import cn.zhf.shop.entity.lesson.LessonOverview;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.List;
@Data
public class CampusOverview {
    public CampusOverview(int campusId,String campusName, String campusImg, String campusInfo, Integer campusState, String campusHours, String area, List<LessonOverview> lessons) {
        this.campusId=campusId;
        this.campusName = campusName;
        this.campusImg = campusImg;
        this.campusInfo = campusInfo;
        this.campusState = campusState;
        this.campusHours = campusHours;
        this.area = area;
        this.lessons = lessons;
    }
    /**
     * 校区名称
     */
    @ApiModelProperty(value="校区名称")
    private int campusId;


    /**
     * 校区名称
     */
    @ApiModelProperty(value="校区名称")
    private String campusName;

    /**
     * 校区logo
     */
    @ApiModelProperty(value="校区logo")
    private String campusImg;

    /**
     * 校区介绍
     */
    @ApiModelProperty(value="校区介绍")
    private String campusInfo;

    /**
     * 校区状态
     */
    @ApiModelProperty(value="校区状态")
    private Integer campusState;

    /**
     * 营业时间
     */
    @ApiModelProperty(value="营业时间")
    private String campusHours;

    /**
     * 所在地区
     */
    @ApiModelProperty(value="所在地址")
    private String area;

    /**
     * 课程列表
     */
    @ApiModelProperty(value="课程列表")
    private List<LessonOverview> lessons;


    @Override
    public String toString() {
        return "CampusOverview{" +
                "campusName='" + campusName + '\'' +
                ", campusImg='" + campusImg + '\'' +
                ", campusInfo='" + campusInfo + '\'' +
                ", campusState=" + campusState +
                ", campusHours='" + campusHours + '\'' +
                ", area='" + area + '\'' +
                '}';
    }
}
